/* 2014/8/17 */
package com.cosmos.quartz.launch;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("trigger")
class TriggerConfig {

	@XStreamAlias("name")
	@XStreamAsAttribute
	private String name;
	
	@XStreamAlias("group")
	@XStreamAsAttribute
	private String group;	

	@XStreamAlias("interval")
	private TriggerIntervalConfig interval;
	
	@XStreamAlias("start")
	private TriggerStartConfig start;
	
	public String getIdName() {
		return name;
	}

	public void setIdName(String name) {
		this.name = name;
	}

	public String getIdGroup() {
		return group;
	}

	public void setIdGroup(String group) {
		this.group = group;
	}

	public TriggerIntervalConfig getInterval() {
		return interval;
	}

	public void setInterval(TriggerIntervalConfig interval) {
		this.interval = interval;
	}

	public TriggerStartConfig getStart() {
		return start;
	}

	public void setStart(TriggerStartConfig start) {
		this.start = start;
	}
	
}
